gtk4.git
15 years agodocs: Remove GtkNotebookPage from docs
Benjamin Otte [Sat, 31 Jul 2010 12:57:11 +0000 (14:57 +0200)]
docs: Remove GtkNotebookPage from docs

15 years agopaned: Remove unused GdkGC
Benjamin Otte [Sat, 31 Jul 2010 12:36:04 +0000 (14:36 +0200)]
paned: Remove unused GdkGC

15 years agoadd the transfer and element-type annotation to gdk_device_manager_list_devices
John (J5) Palmieri [Thu, 29 Jul 2010 08:50:52 +0000 (04:50 -0400)]
add the transfer and element-type annotation to gdk_device_manager_list_devices

15 years agoAnnotate gdk_rectangle_intersect
Tomeu Vizoso [Wed, 28 Jul 2010 14:53:14 +0000 (16:53 +0200)]
Annotate gdk_rectangle_intersect

15 years agoUpdated asturian translation
Xandru Armesto [Wed, 28 Jul 2010 10:53:24 +0000 (12:53 +0200)]
Updated asturian translation

15 years agoUpdated asturian translation
Xandru Armesto [Wed, 28 Jul 2010 10:47:57 +0000 (12:47 +0200)]
Updated asturian translation

15 years agoUpdated Spanish translation
Jorge González [Mon, 26 Jul 2010 18:59:11 +0000 (20:59 +0200)]
Updated Spanish translation

15 years agogdk: Flush implicit paints with Cairo
Benjamin Otte [Mon, 19 Jul 2010 10:24:17 +0000 (12:24 +0200)]
gdk: Flush implicit paints with Cairo

15 years agogdk: Do DEBUG_UPDATES drawing with Cairo
Benjamin Otte [Sat, 17 Jul 2010 02:28:40 +0000 (04:28 +0200)]
gdk: Do DEBUG_UPDATES drawing with Cairo

15 years agooffscreenwindow: Copy old to new pixmap using Cairo
Benjamin Otte [Sat, 17 Jul 2010 01:15:33 +0000 (03:15 +0200)]
offscreenwindow: Copy old to new pixmap using Cairo

15 years agogdk: Create solid mask with Cairo
Benjamin Otte [Sat, 17 Jul 2010 00:52:59 +0000 (02:52 +0200)]
gdk: Create solid mask with Cairo

15 years agogdk: Always clear backing store with Cairo
Benjamin Otte [Sun, 25 Jul 2010 16:13:19 +0000 (18:13 +0200)]
gdk: Always clear backing store with Cairo

The code to use Cairo existed but wasn't used on Unix due to a bug in
XAA (that was fixed). Fwiw, we use EXA these days...

15 years agogdkgc: Draw clip mask with Cairo
Benjamin Otte [Fri, 16 Jul 2010 22:42:15 +0000 (00:42 +0200)]
gdkgc: Draw clip mask with Cairo

15 years agogdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo
Benjamin Otte [Thu, 15 Jul 2010 15:49:08 +0000 (17:49 +0200)]
gdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo

15 years agodocs: Remove mention of gdk_draw_drawable()
Benjamin Otte [Wed, 14 Jul 2010 21:14:33 +0000 (23:14 +0200)]
docs: Remove mention of gdk_draw_drawable()

That function is about to die.

15 years agogdk: Use the system colormap, not the rgb colormap
Benjamin Otte [Tue, 13 Jul 2010 00:47:04 +0000 (02:47 +0200)]
gdk: Use the system colormap, not the rgb colormap

RGB colormaps are on their way out.

15 years agogdk: Get rid of GdkRGB usage
Benjamin Otte [Mon, 12 Jul 2010 21:09:53 +0000 (23:09 +0200)]
gdk: Get rid of GdkRGB usage

Unfortunately, there's no code for getting rid of the alpha channel,
so we opacify the image ourselves.

15 years agogdk: Get rid of gdk_draw_pixbuf() call
Benjamin Otte [Mon, 12 Jul 2010 11:27:41 +0000 (13:27 +0200)]
gdk: Get rid of gdk_draw_pixbuf() call

Use Cairo code instead.

15 years agostyle: Draw insertion cursor with Cairo
Benjamin Otte [Sun, 25 Jul 2010 16:09:06 +0000 (18:09 +0200)]
style: Draw insertion cursor with Cairo

15 years agoRemove _gtk_widget_get_cursor_gc() function
Benjamin Otte [Thu, 15 Jul 2010 12:53:42 +0000 (14:53 +0200)]
Remove _gtk_widget_get_cursor_gc() function

It's unused now.

15 years agotesting: Use Cairo calls instead of gdk_draw_line() to test server sync
Benjamin Otte [Wed, 14 Jul 2010 23:08:03 +0000 (01:08 +0200)]
testing: Use Cairo calls instead of gdk_draw_line() to test server sync

15 years agogtk-demo: Blit backing pixmap using Cairo
Benjamin Otte [Mon, 19 Jul 2010 10:15:58 +0000 (12:15 +0200)]
gtk-demo: Blit backing pixmap using Cairo

15 years agogtk-demo: Convert color selection example to Cairo
Benjamin Otte [Fri, 16 Jul 2010 22:18:57 +0000 (00:18 +0200)]
gtk-demo: Convert color selection example to Cairo

15 years agogtk-demo: Convert drawingarea example to Cairo
Benjamin Otte [Fri, 16 Jul 2010 22:18:35 +0000 (00:18 +0200)]
gtk-demo: Convert drawingarea example to Cairo

15 years agogtk-demo: Make pixbufs demo use Cairo
Benjamin Otte [Tue, 13 Jul 2010 13:57:18 +0000 (15:57 +0200)]
gtk-demo: Make pixbufs demo use Cairo

15 years agodemos: No need to set the rgb colormap here
Benjamin Otte [Tue, 13 Jul 2010 15:14:14 +0000 (17:14 +0200)]
demos: No need to set the rgb colormap here

15 years agodemos: Convert to drawing with Cairo instead of GdkRGB
Benjamin Otte [Tue, 13 Jul 2010 15:17:19 +0000 (17:17 +0200)]
demos: Convert to drawing with Cairo instead of GdkRGB

15 years agodemos: Use Cairo instead of gdk_draw_pixbuf()
Benjamin Otte [Mon, 12 Jul 2010 14:48:53 +0000 (16:48 +0200)]
demos: Use Cairo instead of gdk_draw_pixbuf()

15 years agotestgtk: Remove unused variable
Benjamin Otte [Thu, 22 Jul 2010 00:28:19 +0000 (02:28 +0200)]
testgtk: Remove unused variable

15 years agotestgtk: Draw rotated text example with pangocairo
Benjamin Otte [Wed, 21 Jul 2010 23:51:59 +0000 (01:51 +0200)]
testgtk: Draw rotated text example with pangocairo

15 years agotestgtk: Replace gdk_draw_rectangle() with Cairo
Benjamin Otte [Thu, 15 Jul 2010 17:05:46 +0000 (19:05 +0200)]
testgtk: Replace gdk_draw_rectangle() with Cairo

15 years agotest: Convert testinput to Cairo
Benjamin Otte [Thu, 15 Jul 2010 16:37:08 +0000 (18:37 +0200)]
test: Convert testinput to Cairo

The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.

15 years agotests: Make testoffscreen use Cairo
Benjamin Otte [Thu, 15 Jul 2010 16:18:27 +0000 (18:18 +0200)]
tests: Make testoffscreen use Cairo

15 years agotests: replace gdk_draw_drawable() with Cairo calls in testinput
Benjamin Otte [Wed, 14 Jul 2010 21:10:31 +0000 (23:10 +0200)]
tests: replace gdk_draw_drawable() with Cairo calls in testinput

15 years agotests: Use gdk_screen_get_default_colormap()
Benjamin Otte [Tue, 13 Jul 2010 00:38:21 +0000 (02:38 +0200)]
tests: Use gdk_screen_get_default_colormap()

We don't need the RGB colormap here.

15 years agotests: Use GdkPixbuf for taking a screenshot, not GdkImage
Benjamin Otte [Tue, 13 Jul 2010 00:17:48 +0000 (02:17 +0200)]
tests: Use GdkPixbuf for taking a screenshot, not GdkImage

15 years agotests: Remove gdk_draw_pixbuf() with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 13:45:12 +0000 (15:45 +0200)]
tests: Remove gdk_draw_pixbuf() with Cairo equivalent

15 years agopixbuf-engine: Draw mask with Cairo
Benjamin Otte [Thu, 15 Jul 2010 13:44:24 +0000 (15:44 +0200)]
pixbuf-engine: Draw mask with Cairo

No more gdk_pixbuf_render_threshold_alpha()

15 years agopixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 13:44:32 +0000 (15:44 +0200)]
pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent

15 years agopixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 13:41:27 +0000 (15:41 +0200)]
pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent

This replaces the tiled fill call only.

15 years agoimcontextxim: Draw with Cairo
Benjamin Otte [Sat, 17 Jul 2010 02:41:58 +0000 (04:41 +0200)]
imcontextxim: Draw with Cairo

15 years agodecorations: Draw text with Cairo
Benjamin Otte [Wed, 21 Jul 2010 11:20:22 +0000 (13:20 +0200)]
decorations: Draw text with Cairo

15 years agodecorate: Draw decorations using Cairo
Benjamin Otte [Thu, 15 Jul 2010 11:05:57 +0000 (13:05 +0200)]
decorate: Draw decorations using Cairo

Patch is untested, is there an example using this?

15 years agohsv: Remove unused variable
Benjamin Otte [Thu, 15 Jul 2010 03:40:05 +0000 (05:40 +0200)]
hsv: Remove unused variable

15 years agotreeview: Draw the dnd pixmaps with Cairo
Benjamin Otte [Thu, 15 Jul 2010 03:18:33 +0000 (05:18 +0200)]
treeview: Draw the dnd pixmaps with Cairo

15 years agotreeview: Draw lines with Cairo
Benjamin Otte [Thu, 15 Jul 2010 03:04:46 +0000 (05:04 +0200)]
treeview: Draw lines with Cairo

15 years agotreeview: Unify all line drawing into the same function
Benjamin Otte [Thu, 15 Jul 2010 01:36:07 +0000 (03:36 +0200)]
treeview: Unify all line drawing into the same function

This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.

15 years agotreeview: Draw column reordering arrows with Cairo
Benjamin Otte [Thu, 15 Jul 2010 01:02:59 +0000 (03:02 +0200)]
treeview: Draw column reordering arrows with Cairo

15 years agoruler: Replace gdk_draw_drawable calls with Cairo
Benjamin Otte [Wed, 14 Jul 2010 20:43:08 +0000 (22:43 +0200)]
ruler: Replace gdk_draw_drawable calls with Cairo

and get rid of the custom GC

15 years agomenu: replace gdk_draw_drawable() call with Cairo equivalent
Benjamin Otte [Wed, 14 Jul 2010 19:56:15 +0000 (21:56 +0200)]
menu: replace gdk_draw_drawable() call with Cairo equivalent

15 years agofilechooser: Remove commented out code
Benjamin Otte [Wed, 14 Jul 2010 12:47:10 +0000 (14:47 +0200)]
filechooser: Remove commented out code

It wouldn't compile with current APIs anyway

15 years agoprogressbar: Use cairo instead of gdk_draw_drawable()
Benjamin Otte [Wed, 14 Jul 2010 16:28:49 +0000 (18:28 +0200)]
progressbar: Use cairo instead of gdk_draw_drawable()

15 years agospinner: We want the default colormap, not the RGB colormap
Benjamin Otte [Tue, 13 Jul 2010 00:22:40 +0000 (02:22 +0200)]
spinner: We want the default colormap, not the RGB colormap

GtkSpinner doesn't use GdkRGB

15 years agoimage: Use Cairo instead of gdk_draw_drawable()
Benjamin Otte [Wed, 14 Jul 2010 17:46:58 +0000 (19:46 +0200)]
image: Use Cairo instead of gdk_draw_drawable()

15 years agoimage: replace gdk_draw_pixbuf() call with Cairo equivalent
Benjamin Otte [Mon, 12 Jul 2010 12:25:53 +0000 (14:25 +0200)]
image: replace gdk_draw_pixbuf() call with Cairo equivalent

15 years agotextview: draw dnd icon with Pango
Benjamin Otte [Wed, 21 Jul 2010 10:37:35 +0000 (12:37 +0200)]
textview: draw dnd icon with Pango

15 years agotextview: Draw selection background with Cairo
Benjamin Otte [Fri, 16 Jul 2010 21:56:20 +0000 (23:56 +0200)]
textview: Draw selection background with Cairo

15 years agotextview: Draw drag icons using Cairo
Benjamin Otte [Thu, 15 Jul 2010 23:45:06 +0000 (01:45 +0200)]
textview: Draw drag icons using Cairo

15 years agotextview: Use _gtk_widget_get_cursor_color() and Cairo
Benjamin Otte [Thu, 15 Jul 2010 12:50:36 +0000 (14:50 +0200)]
textview: Use _gtk_widget_get_cursor_color() and Cairo

Previously the code was using _gtk_widget_get_cursor_gc()

15 years agotextview: Draw empty shape logo with Cairo
Benjamin Otte [Thu, 15 Jul 2010 12:04:19 +0000 (14:04 +0200)]
textview: Draw empty shape logo with Cairo

15 years agotextview: replace gdk_draw_pixbuf() call with Cairo version
Benjamin Otte [Sun, 11 Jul 2010 23:40:30 +0000 (01:40 +0200)]
textview: replace gdk_draw_pixbuf() call with Cairo version

15 years agocolorbutton: Render with Cairo
Benjamin Otte [Sun, 11 Jul 2010 23:10:08 +0000 (01:10 +0200)]
colorbutton: Render with Cairo

In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.

15 years agoentry: replace gdk_draw_pixbuf() call with Cairo version
Benjamin Otte [Sun, 11 Jul 2010 22:00:07 +0000 (00:00 +0200)]
entry: replace gdk_draw_pixbuf() call with Cairo version

15 years agogdk: Revert making get_size optional
Benjamin Otte [Mon, 19 Jul 2010 11:24:30 +0000 (13:24 +0200)]
gdk: Revert making get_size optional

49a0ec6e95408e3484397602ad46e274cedbf98b added this hunk without
explanations and it's obviously wrong because failing to have a get_size
vfunc will now not set width and height and they'll end up with invalid
values.

In fact, the GdkDrawableImpl{X11,Win32,Quartz} functions do not have
get_size implemented, so the patch was most likely an attempt to work
around calling this function erroneously on the impl objects.

The correct fix is to call impl->wrapper instead.

15 years agox11: Query size on real drawable
Benjamin Otte [Mon, 19 Jul 2010 11:15:10 +0000 (13:15 +0200)]
x11: Query size on real drawable

The X11 drawable does not have a clue about the real size of the
surface.

This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574

15 years agodocs: Fix sgml file to add gdk_keymap_get_num_lock_state()
Benjamin Otte [Tue, 13 Jul 2010 16:05:07 +0000 (18:05 +0200)]
docs: Fix sgml file to add gdk_keymap_get_num_lock_state()

15 years agocups: Fix cast warnings
Benjamin Otte [Mon, 12 Jul 2010 12:40:04 +0000 (14:40 +0200)]
cups: Fix cast warnings

15 years agoUpdated Slovenian translation
Klemen Košir [Mon, 26 Jul 2010 12:45:57 +0000 (14:45 +0200)]
Updated Slovenian translation

15 years agoMoved the drawing of horizontal grid lines after cell drawing.
Szilárd Pfeiffer [Sun, 25 Jul 2010 12:46:57 +0000 (14:46 +0200)]
Moved the drawing of horizontal grid lines after cell drawing.

Without the change if the cell background is set the horizontal
grid line cannot be seen.

15 years agoAdd gdk_cursor_get_cursor_type
John Stowers [Wed, 14 Jul 2010 09:55:27 +0000 (21:55 +1200)]
Add gdk_cursor_get_cursor_type

https://bugzilla.gnome.org/show_bug.cgi?id=624087

15 years agoUpdate Simplified Chinese translation.
Aron Xu [Sat, 24 Jul 2010 05:15:32 +0000 (13:15 +0800)]
Update Simplified Chinese translation.

15 years agoClarify what the @event is used for when calling gtk_drag_begin()
Federico Mena Quintero [Fri, 23 Jul 2010 16:51:23 +0000 (11:51 -0500)]
Clarify what the @event is used for when calling gtk_drag_begin()

Signed-off-by: Federico Mena Quintero <federico@novell.com>
15 years agoCorrect marshaller for switch-page and adjust emission from menu
Christian Dywan [Mon, 19 Jul 2010 09:04:56 +0000 (11:04 +0200)]
Correct marshaller for switch-page and adjust emission from menu

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
15 years agoFix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()
Stanislav Brabec [Thu, 22 Jul 2010 21:19:49 +0000 (16:19 -0500)]
Fix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()

If gtk_drag_begin() gets passed GDK_CURRENT_TIME, try to use
gtk_get_current_event_time().  If it fails, use GDK_CURRENT_TIME when
ungrabbing in gtk_drag_end().

For more see https://bugzilla.gnome.org/show_bug.cgi?id=623865

15 years agoCheck if childs actually exists before using it
Javier Jardón [Thu, 22 Jul 2010 14:43:23 +0000 (16:43 +0200)]
Check if childs actually exists before using it

Check seems to have gone lost during GtkBin sealing in commit 4427760b

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624707

15 years agoUpdated Galician translations
Fran Diéguez [Thu, 22 Jul 2010 14:28:52 +0000 (16:28 +0200)]
Updated Galician translations

15 years agoUpdate Simplified Chinese translations.
Tao Wang [Wed, 21 Jul 2010 04:04:06 +0000 (12:04 +0800)]
Update Simplified Chinese translations.

15 years agoUpdated Galician translations
Fran Diéguez [Tue, 20 Jul 2010 10:26:38 +0000 (12:26 +0200)]
Updated Galician translations

15 years agoMove GtkBoxChild from the public .h to gtkbox.c
Javier Jardón [Wed, 14 Jul 2010 22:54:41 +0000 (00:54 +0200)]
Move GtkBoxChild from the public .h to gtkbox.c

https://bugzilla.gnome.org/show_bug.cgi?id=624397

15 years agoDo not use GtkBoxChild in GtkStatusBar
Javier Jardón [Wed, 14 Jul 2010 22:46:22 +0000 (00:46 +0200)]
Do not use GtkBoxChild in GtkStatusBar

https://bugzilla.gnome.org/show_bug.cgi?id=624397

15 years agogtkentrycompletion: check return value because It can be non-UTF8
Javier Jardón [Mon, 19 Jul 2010 18:45:25 +0000 (20:45 +0200)]
gtkentrycompletion: check return value because It can be non-UTF8

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624270

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 19 Jul 2010 19:38:04 +0000 (21:38 +0200)]
Updated Norwegian bokmål translation

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Mon, 19 Jul 2010 18:39:43 +0000 (21:39 +0300)]
Updated Hebrew translation.

15 years agoGtkWindowGroup: Add guards to some gtk_window_group_* functions
Javier Jardón [Thu, 24 Jun 2010 16:38:16 +0000 (18:38 +0200)]
GtkWindowGroup: Add guards to some gtk_window_group_* functions

15 years agoAdd _gtk_check_menu_item_set_active() internal function
Javier Jardón [Thu, 15 Jul 2010 14:49:45 +0000 (16:49 +0200)]
Add _gtk_check_menu_item_set_active() internal function

It's needed by gtkradiomenuitem

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624432

15 years agogtknotebook: Fix critical warnings on scroll events
Christian Persch [Tue, 23 Mar 2010 13:45:07 +0000 (14:45 +0100)]
gtknotebook: Fix critical warnings on scroll events

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391

15 years agogtkstock: Adding a File label stock item.
Ted Gould [Thu, 24 Jun 2010 19:51:38 +0000 (14:51 -0500)]
gtkstock: Adding a File label stock item.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622658

15 years agoAdd _gtk_toggle_action_set_active() internal function
Javier Jardón [Fri, 16 Jul 2010 16:34:46 +0000 (18:34 +0200)]
Add _gtk_toggle_action_set_active() internal function

It's needed in gtkradioaction

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624540

15 years agoGtkWindow: keep a reference of the widget on focus change.
Carlos Garnacho [Mon, 19 Jul 2010 13:01:04 +0000 (15:01 +0200)]
GtkWindow: keep a reference of the widget on focus change.

Focus out could lead to the widget being destroyed (for example,
in editable cell renderers when DnD starts), so keep the widget
alive while iterating through the devices.

15 years agogtktextbuffer: Remove GET_PRIVATE macro
Javier Jardón [Mon, 19 Jul 2010 13:01:02 +0000 (15:01 +0200)]
gtktextbuffer: Remove GET_PRIVATE macro

It's only needed one time and should not be used again in the code.

15 years ago[i18n] Updated German translation
Mario Blättermann [Sun, 18 Jul 2010 18:35:06 +0000 (20:35 +0200)]
[i18n] Updated German translation

15 years ago[i18n] Updated German translation
Mario Blättermann [Sun, 18 Jul 2010 18:31:28 +0000 (20:31 +0200)]
[i18n] Updated German translation

15 years agoUpdated Spanish translation
Jorge González [Sun, 18 Jul 2010 10:03:33 +0000 (12:03 +0200)]
Updated Spanish translation

15 years agoUpdated Indonesian translation after reapply newest POT
Andika Triwidada [Sun, 18 Jul 2010 05:00:22 +0000 (12:00 +0700)]
Updated Indonesian translation after reapply newest POT

15 years agoUpdated Indonesian translation
Andika Triwidada [Sun, 18 Jul 2010 04:55:39 +0000 (11:55 +0700)]
Updated Indonesian translation

15 years agoMove GtkTextBuffer sealed attributes to private struct.
Ignacio Casal Quinteiro [Tue, 13 Jul 2010 09:23:57 +0000 (11:23 +0200)]
Move GtkTextBuffer sealed attributes to private struct.

15 years agogail-util: Constify gchar argument
Emmanuele Bassi [Wed, 14 Jul 2010 15:01:45 +0000 (16:01 +0100)]
gail-util: Constify gchar argument

And avoid a compiler warning.

https://bugzilla.gnome.org/show_bug.cgi?id=624349

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 16 Jul 2010 14:17:13 +0000 (17:17 +0300)]
Updated Hebrew translation.

15 years agoRemove accidental addition
Matthias Clasen [Fri, 16 Jul 2010 05:22:01 +0000 (01:22 -0400)]
Remove accidental addition

15 years agoAllow windows to be dragged by clicking on empty areas
Matthias Clasen [Fri, 16 Jul 2010 05:15:47 +0000 (01:15 -0400)]
Allow windows to be dragged by clicking on empty areas

Allow windows to be dragged by clicking on empty areas in menubars
and toolbars. This is under theme control, via the GtkWidget::window-dragging
style property. The idea is that it makes sense to turn this on if a
theme makes the window frame and the menubar/toolbar appear visually
contiguous.

The main patch was written by Cody Russell, with a contribution by
Ayan George. See bug 611313.